package com.platform.batch.base.component.job;

import org.springframework.jdbc.core.namedparam.MapSqlParameterSource;

import javax.annotation.Nonnull;

public class NullMapSqlParameterSource extends MapSqlParameterSource {

    @Override
    public Object getValue(@Nonnull String paramName) {
        if (this.hasValue(paramName)) {
            return super.getValue(paramName);
        }
        return null;
    }
}
